package org.wang.generalcode.modules.sys.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 字典数据表实体类
 *
 * @author wz
 * @since 2024-08-08
 */
@Data
@Schema(description = "字典数据表")
@TableName("sys_dict_item")
public class DictItem implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	* 主键
	*/
	@Schema(description = "主键")
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	/**
	* 字典ID
	*/
	@Schema(description = "字典ID")
	private Long dictId;
	/**
	* 字典项名称
	*/
	@Schema(description = "字典项名称")
	private String name;
	/**
	* 字典项值
	*/
	@Schema(description = "字典项值")
	private String value;
	/**
	* 状态（1-正常，0-禁用）
	*/
	@Schema(description = "状态（1-正常，0-禁用）")
	private Integer status;
	/**
	* 排序
	*/
	@Schema(description = "排序")
	private Integer sort;
	/**
	* 备注
	*/
	@Schema(description = "备注")
	private String remark;
	/**
	* 创建时间
	*/
	@Schema(description = "创建时间")
	private Date createTime;
	/**
	* 更新时间
	*/
	@Schema(description = "更新时间")
	private Date updateTime;


}
